package o;

import android.content.pm.PackageInfo;

public class dxf extends cvs {
    public static final String APIMETHOD = "client.firstActiveRep";
    private static final String TAG = "AppActiveReportRequest";
    private String detailId_;
    private String pkgName_;
    private int versionCode_;

    public dxf(String str, String str2) {
        this.pkgName_ = str;
        this.versionCode_ = ˋ(str);
        this.detailId_ = str2;
        setMethod_("client.firstActiveRep");
        setStoreApi("clientApi");
    }

    private int ˋ(String str) {
        PackageInfo ᐝ = ((cdg) cdb.ॱ(cdg.class)).ᐝ(str);
        if (ᐝ == null) {
            return -1;
        }
        Logger.ˎ(TAG, "versionCode=" + ᐝ.versionCode);
        return ᐝ.versionCode;
    }

    public String ˋ() {
        return this.pkgName_;
    }

    public String ˎ() {
        return this.detailId_;
    }
}
